package org.cige.ws.edu.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 文件记录VO
 * @Author: fengchengguo
 * @Date:   2024-08-09
 * @Version: V1.0
 */
@Data
public class FFileReordVO implements Serializable {
    private static final long serialVersionUID = 1L;
	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**父级节点*/
	@Excel(name = "父级节点", width = 15)
    @ApiModelProperty(value = "父级节点")
    private String parent;
	/**是否有子节点*/
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否有子节点")
    private String hasChild;
	/**文件名*/
    @ApiModelProperty(value = "文件名")
    private String fileName;
	/**文件路径*/
    @ApiModelProperty(value = "文件路径")
    private String filePath;
	/**文件类型*/
	@Dict(dicCode = "file_type")
    @ApiModelProperty(value = "文件类型")
    private String fileType;
	/**文件大小*/
    @ApiModelProperty(value = "文件大小")
    private Double fileSize;

    @ApiModelProperty(value = "文件标签")
    private String fileLabel;
    @ApiModelProperty(value = "排序")
    private int fileOrder;
}
